package sskj.regulatory.presentation.screen.authentication.projectdepartment

import sskj.regulatory.data.response.eng.EngResponse
import sskj.regulatory.data.response.session.BingDingResponse
import sskj.regulatory.data.response.session.IndexDataResponse
import sskj.regulatory.domain.entity.user.BingDingEntity
import sskj.regulatory.presentation.base_mvp.api.ApiContract

interface ProjectDeptContract {

    interface View : ApiContract.View {

        fun initOk(bingDingEntity: BingDingEntity?)

        //认证成功
        fun authOk(eng: EngResponse, username: String)

        fun showBingDing(name: String, content: String, engResponse: EngResponse)

        fun bingDingOk()

        fun delBingDingOk()

        fun showTipDialogError(message: String?)

    }

    interface Presenter : ApiContract.Presenter<View> {

        fun indexData()

        fun bingDing(username: String, password: String)

        fun delBingDing()

        fun auth(username: String, password: String)
    }
}